package com.quectel.mobile.vo.partybuilding;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/6/20 11:05
 * @description new java file header...
 */
@Data
@Schema
public class PartySurveySubmitReq {


    @Schema(description = "调查id")
    @NotNull
    private Long partySurveyId;


    @Schema(description = "是否匿名 0不匿名1匿名")
    @NotNull
    private Byte anonymous;


    @Schema(description = "题目答案,key是题目id,value是答案,单选和多选答案都是对应选项的list,填空题是{/\"填空选项id/\" : /\"填空的内容/\"},评分题答案:{/\"评分选项id/\" : /\"评分/\"}")
    @NotNull
    private Map<Long, Object> answers;


}
